#ifndef FORMDEVICEPROFILE_H
#define FORMDEVICEPROFILE_H

#include <QtGui/QWidget>

#include "profile.h"

namespace Ui {
    class FormDeviceProfile;
}

class FormDeviceProfile : public QWidget {
    Q_OBJECT
public:
    FormDeviceProfile(CProfile *pProfile, QWidget *parent = 0);
    ~FormDeviceProfile();

    void SaveData();
    void LoadData();

protected:
    void changeEvent(QEvent *e);

private:
    CProfile *m_pProfile;
    Ui::FormDeviceProfile *m_ui;
    void Save2Profile();
};

#endif // FORMDEVICEPROFILE_H
